#pragma once
#include "global.h"
class CCObject
{
protected:
	SDL_Rect *pRect;
	float fScale;
	float fRotate;
	SDL_Surface *pSurface;
public:
	virtual ~CCObject(void) = 0;
	CCObject(void);
	void setRect(float x, float y, float width, float height);
	void setScale(float scale);
	void setRotate(float angle);
	virtual SDL_Surface *drawable();
	SDL_Rect *drawRect();
};

